
console.log([1,2]==[1,2]);//false
console.log([1,2]===[1,2]);//false

function x() {
}
console.log(new x()==new x());//false
console.log(new x()===new x());//false


console.log(NaN==NaN);//false
console.log(NaN===NaN);//false

console.log(null==undefined)//true
console.log(null===undefined)//false